-
Home
-
Leat
-
1.8.1
-
Code
-
Classes
- ReferralShortcode
Total Complexity |
31 |
Dependencies |
4 |
Dependents |
1 |
Total lines |
250 |
Lines of code |
149 |
Logical lines of code |
58 |
Comment lines |
64 |
Methods |
10 |
Properties |
3 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
enqueue_inline_scripts() |
A |
42 |
8 |
56 |
shortcode_output() |
S |
53 |
5 |
23 |
enqueue_referral_assets() |
S |
54 |
4 |
22 |
get_user_referral_stats() |
S |
60 |
4 |
13 |
maybe_enqueue_assets() |
S |
65 |
3 |
10 |
get_user_referral_code() |
S |
68 |
3 |
7 |
__construct() |
S |
73 |
1 |
5 |
init_hooks() |
S |
79 |
1 |
3 |
get_assets() |
S |
82 |
1 |
3 |
get_shortcode_type_attributes() |
S |
69 |
1 |
7 |